package com.mt.mtyx.common.utils.generate.generate.code;

import java.util.List;

/**
 * @author WMT
 * @Date 2023/5/26 17:27
 */
public class GenerateMethod {

    /**
     * 方法类型
     */
    private String method;

    /**
     * 方法名称
     */
    private String methodName;

    /**
     * 方法格式化
     */
    private String methodFormat;

    /**
     * 方法备注
     */
    private String methodComment;

    /**
     * 返回值
     */
    private String returnType;

    /**
     * 返回值类型
     */
    private List<String> returnClass;

    /**
     * 返回值备注
     */
    private String returnComment;

    /**
     * 参数列表
     */
    private List<GenerateType> param;

    public GenerateMethod() {
    }

    public GenerateMethod(String method, String methodName, String methodFormat, String methodComment, String returnType, List<String> returnClass, String returnComment, List<GenerateType> param) {
        this.method = method;
        this.methodName = methodName;
        this.methodFormat = methodFormat;
        this.methodComment = methodComment;
        this.returnType = returnType;
        this.returnClass = returnClass;
        this.returnComment = returnComment;
        this.param = param;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public List<GenerateType> getParam() {
        return param;
    }

    public void setParam(List<GenerateType> param) {
        this.param = param;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getMethodFormat() {
        return methodFormat;
    }

    public void setMethodFormat(String methodFormat) {
        this.methodFormat = methodFormat;
    }

    public String getMethodComment() {
        return methodComment;
    }

    public void setMethodComment(String methodComment) {
        this.methodComment = methodComment;
    }

    public List<String> getReturnClass() {
        return returnClass;
    }

    public void setReturnClass(List<String> returnClass) {
        this.returnClass = returnClass;
    }

    public String getReturnComment() {
        return returnComment;
    }

    public void setReturnComment(String returnComment) {
        this.returnComment = returnComment;
    }
}
